<?php 
$full = $t['comment_text'];
$short = null;
// TODO: replace 100 with the value taken from settings
if (strlen($full) > 100) {
    $short = substr($full, 0, 100);
}

?>
<h2>Delete comment</h2>
<form action="<?php echo $t['submit_route']; ?>" method="post">
<input type="hidden" name="force_delete" value="1"/>
<input type="hidden" name="return_url" value="<?php echo htmlspecialchars($t['return_url']);?>"/>
<div class="center">I really want to delete comment 
“<span id="c_f_<?php echo htmlspecialchars($t['comment_id']);?>" style="<?php if (!is_null($short)) { echo 'display: none';} ?>"><?php echo $full; ?></span>
<?php if (!is_null($short)):?>
<span id="c_s_<?php echo htmlspecialchars($t['comment_id']);?>">
<?php echo $short; ?>…<a href="" onclick="hide_element('c_s_<?php echo htmlspecialchars($t['comment_id']);?>'); show_element('c_f_<?php echo htmlspecialchars($t['comment_id']);?>', 'inline'); return false;">more</a>
</span>
<?php endif;?>
”.</div>
<div class="center">All nested comments will be deleted too.</div>
<div class="center"><input type="submit" value="delete"/></div>
</form>